[INFO] fetching crate inventory 0.3.24...
[INFO] fixing inventory-0.3.24 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate inventory 0.3.24 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate inventory 0.3.24
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate inventory 0.3.24
[INFO] tweaked toml for crates.io crate inventory 0.3.24 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate inventory 0.3.24 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate inventory 0.3.24 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f
[INFO] running `Command { std: "docker" "start" "9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]     Checking winnow v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking toml_writer v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]     Checking dissimilar v1.0.11
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking inventory v0.3.24 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking toml_parser v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking serde_spanned v1.1.0
[INFO] [stderr]     Checking toml_datetime v1.1.0+spec-1.1.0
[INFO] [stderr]     Checking toml v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking trybuild v1.0.116
[INFO] [stderr]    Migrating tests/test.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/compiletest.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/flags.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.84s
[INFO] [stderr] crater-edition-check: inventory v0.3.24 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking inventory v0.3.24 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> examples/flags.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | / inventory::submit! {
[INFO] [stdout]  13 | |     Flag::new('v', "verbose")
[INFO] [stdout]  14 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::__do_submit` which comes from the expansion of the macro `inventory::submit` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:522:73
[INFO] [stdout]     |
[INFO] [stdout] 522 |             #[cfg_attr(any(target_os = "linux", target_os = "android"), unsafe(link_section = ".text.startup"))]
[INFO] [stdout]     |                                                                         +++++++                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> examples/flags.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | / inventory::submit! {
[INFO] [stdout]  13 | |     Flag::new('v', "verbose")
[INFO] [stdout]  14 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::__do_submit` which comes from the expansion of the macro `inventory::submit` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/lib.rs:551:17
[INFO] [stdout]     |
[INFO] [stdout] 551 |                 unsafe(link_section = ".init_array"),
[INFO] [stdout]     |                 +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inventory` (example "flags") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f", kill_on_drop: false }`
[INFO] [stdout] 9536dc383406e983dc86a687ac23a4c3b5ea2f6d08c0050ced8be1ef2f88e88f
